﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using QRCodePass.Core.Models.administrator;

namespace QRCodePass.Mvc.ViewModels.Admin
{
    public class CreateRoleViewModel
    {
        public CreateRoleViewModel()
        {
            PwList = new List<Power>();
        }

        [Required]
        [Display(Name = "角色")]
        public string RoleName { get; set; }

        public List<Power> PwList { get; set; }
    }
}
